#ifndef TIMERSERVICE_H
#define TIMERSERVICE_H

#define COUNTER 0
#define KEYSCAN 1
#define LED_UPD 2

#include <avr/io.h>
#include <avr/interrupt.h>

extern unsigned char flags;

void InitTimer();
void SetTimer(unsigned char newPosition, unsigned int newTime);
unsigned char USART_Receive(void);

#endif //TIMERSERVICE_H
